package com.bcn.login_mybatis_demo.service;

import com.bcn.login_mybatis_demo.dto.RoleDTO;
import com.bcn.login_mybatis_demo.pojo.Role;

import java.util.List;

public interface RoleService {
    public List<Role> getRoleList(RoleDTO roleDTO);

    long getRoleCount(RoleDTO roleDTO);

    String createRole(Role role);

    String deleteRoleById(int id);

    Role getRoleByID(int id);
    String updateRole(Role role);
}
